class UserFrindEntity {
	String identifier;
	int addTime;
	String addSource;
	String addWording;
	UserFrindProfile profile;
	List<Null> groups;
	String remark;
	UserFrindCustominfo customInfo;

	UserFrindEntity({this.identifier, this.addTime, this.addSource, this.addWording, this.profile, this.groups, this.remark, this.customInfo});

	UserFrindEntity.fromJson(Map<String, dynamic> json) {
		identifier = json['identifier'];
		addTime = json['addTime'];
		addSource = json['addSource'];
		addWording = json['addWording'];
		profile = json['profile'] != null ? new UserFrindProfile.fromJson(json['profile']) : null;
		if (json['groups'] != null) {
			groups = new List<Null>();
		}
		remark = json['remark'];
		customInfo = json['customInfo'] != null ? new UserFrindCustominfo.fromJson(json['customInfo']) : null;
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['identifier'] = this.identifier;
		data['addTime'] = this.addTime;
		data['addSource'] = this.addSource;
		data['addWording'] = this.addWording;
		if (this.profile != null) {
      data['profile'] = this.profile.toJson();
    }
		if (this.groups != null) {
      data['groups'] =  [];
    }
		data['remark'] = this.remark;
		if (this.customInfo != null) {
      data['customInfo'] = this.customInfo.toJson();
    }
		return data;
	}
}

class UserFrindProfile {
	int birthday;
	String faceURL;
	String identifier;
	int role;
	int gender;
	int level;
	String nickname;
	int language;
	UserFrindProfileCustominfo customInfo;
	int allowType;

	UserFrindProfile({this.birthday, this.faceURL, this.identifier, this.role, this.gender, this.level, this.nickname, this.language, this.customInfo, this.allowType});

	UserFrindProfile.fromJson(Map<String, dynamic> json) {
		birthday = json['birthday'];
		faceURL = json['faceURL'];
		identifier = json['identifier'];
		role = json['role'];
		gender = json['gender'];
		level = json['level'];
		nickname = json['nickname'];
		language = json['language'];
		customInfo = json['customInfo'] != null ? new UserFrindProfileCustominfo.fromJson(json['customInfo']) : null;
		allowType = json['allowType'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['birthday'] = this.birthday;
		data['faceURL'] = this.faceURL;
		data['identifier'] = this.identifier;
		data['role'] = this.role;
		data['gender'] = this.gender;
		data['level'] = this.level;
		data['nickname'] = this.nickname;
		data['language'] = this.language;
		if (this.customInfo != null) {
      data['customInfo'] = this.customInfo.toJson();
    }
		data['allowType'] = this.allowType;
		return data;
	}
}

class UserFrindProfileCustominfo {




	UserFrindProfileCustominfo.fromJson(Map<String, dynamic> json) {
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		return data;
	}
}

class UserFrindCustominfo {




	UserFrindCustominfo.fromJson(Map<String, dynamic> json) {
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		return data;
	}
}
